package com.gxa.saas.portal.entity.vo.wylvo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotEmpty;

@Data
public class ShareVo {

    @ApiModelProperty("店铺id")
    private Integer id;

    @ApiModelProperty("分享文案")
    @NotEmpty(message = "请填入分享文案")
    private String message;

    @ApiModelProperty("前端传输使用：分享的图片")
    private MultipartFile file;

    @ApiModelProperty("后端返回使用：分享的图片")
    private String picture;
}
